package org.metasketch.simulator.tools.channels;

import java.util.ArrayList;
import java.util.List;

import org.metasketch.simulator.tools.generic.GenericInfo;
import org.metasketch.simulator.tools.transactions.StepDefinition;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("channel-definition")
public class ChannelDefinition extends GenericInfo {

	@XStreamAsAttribute
	protected String alias;

	@XStreamAsAttribute
	protected String name;

	@XStreamAsAttribute
	protected boolean synchronous = false;

	public String getAlias() {
		return alias;
	}

	public void setAlias(String id) {
		this.alias = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isSynchronous() {
		return synchronous;
	}

	public void setSynchronous(boolean synchronous) {
		this.synchronous = synchronous;
	}

}
